<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../font_3sqfkdkt64s/iconfont.css">
    <link rel="stylesheet" href="../CSS/all.css">
    <!-- <link rel="stylesheet" href=""> -->
    <link rel="stylesheet" href="../font_cnubd6mcu1/iconfont.css">
</head>

<body>
    <header></header>
    <!-- <header id="top">
        <div class="wz">
            <a href="">登入</a>
            <span style="color:#9999a6 ;font-size: 14px;">或</span>
            <a href=""> 注册会员</a>
            <span style="color:#9999a6 ;font-size: 14px;">ANTA会员</span>
            <span style="font-size: 21px;margin-left: 30px;" class="iconfont icon-gouwuche"></span>
            <span style="font-size: 21px;margin-left: 30px;" class="iconfont icon-weibiaoti-"></span>
        </div>
    </header>
    <div id="hl">
        <img style="width:50px;height:95px;margin-left:75px;position: absolute;" src="img/logo-anta-r-02.svg" alt="">
        <ul class="h2">
            <li>
                <a href=""> 冬奥国旗</a>

            </li>

            <li class="m1">
                <div>
                    <a href="">男子</a>

                </div>
                <div class="m">

                    <ul style="border-right: solid 0.1px grey; float: left;margin-left: 220px;">
                        <li style="font-weight: bold;"><b>所有鞋类</b> </li>
                        <li>运动鞋</li>
                        <li>跑鞋</li>
                        <li>篮球鞋</li>
                        <li>休闲鞋</li>
                        <li>板鞋</li>
                        <li>户外综训鞋</li>

                    </ul>
                    <ul style="border-right: solid 0.1px grey;float: left;">
                        <li style="font-weight: bold;"><b>所有服装</b> </li>
                        <li>套头卫衣</li>
                        <li>外套夹克</li>
                        <li>羽绒服/马甲</li>
                        <li>短袖T恤</li>
                        <li>长裤</li>
                        <li>运动短裤</li>

                    </ul>
                    <ul style="border-right: solid 0.1px grey;float: left;">
                        <li style="font-weight: bold;"><b>所有配件</b> </li>
                        <li>包类</li>
                        <li>运动袜子</li>

                    </ul>
                    <ul style="float: left;">
                        <li style="font-weight: bold;"><b>运动项目</b> </li>
                        <li>跑步</li>
                        <li>篮球</li>
                        <li>综训</li>
                        <li>生活</li>
                        <li>健身</li>

                    </ul>

                </div>


            </li>


            <li class="m2">
                <div>
                    <a href="">女子</a>
                </div>
                <div class="x">
                    <ul style="border-right: solid 0.1px grey;float: left;margin-left: 300px;">
                        <li style="font-weight: bold;"><b>所有鞋类</b> </li>

                        <li>跑鞋</li>

                        <li>休闲鞋</li>
                        <li>板鞋</li>
                        <li>棉鞋</li>

                    </ul>
                    <ul style="border-right: solid 0.1px grey;float: left;">
                        <li style="font-weight: bold;">所有服装</li>
                        <li>羽绒服</li>
                        <li>套头卫衣</li>
                        <li>外套夹克</li>
                        <li>短袖T恤</li>
                        <li>长裤</li>
                        <li>运动短裤</li>

                    </ul>
                    <ul style="float: left;">
                        <li style="font-weight: bold;"><b> 所有配件</b></li>
                        <li>包类</li>
                        <li>运动袜类</li>

                    </ul>

                </div>

            </li>

            <li class=m3>
                <div>
                    <a href="">儿童</a></div>
                <div class="n">
                    <ul style="border-right: solid 0.1px grey; float: left;margin-left: 220px;">
                        <li>新品上市</li>
                        <li>男中大童</li>
                        <li>女中大童</li>
                        <li>男小童</li>
                        <li>女小童</li>
                        <li>婴童</li>


                    </ul>
                    <ul style="border-right: solid 0.1px grey;float: left;">
                        <li style="font-weight: bold;"><b>所有鞋类</b> </li>

                        <li>跑鞋</li>
                        <li>篮球鞋</li>
                        <li>休闲鞋</li>
                        <li>板鞋</li>
                        <li>足球鞋</li>

                    </ul>
                    <ul style="border-right: solid 0.1px grey;float: left;">
                        <li style="font-weight: bold;"><b>所有服装</b> </li>
                        <li>套头卫衣</li>

                        <li>羽绒服</li>
                        <li>短袖T恤</li>
                        <li>长裤</li>
                        <li>运动短裤</li>

                    </ul>
                    <ul style="float: left;">
                        <li style="font-weight: bold;"><b>所有配件</b> </li>
                        <li>包类</li>


                    </ul>


                </div>

            </li>
            <li>
                <a href="">安踏儿童</a> </li>
            <li>
                <a href="">品牌文化</a> </li>
            <li>
                <a href="">观赏视频</a> </li>
            <li>
                <a href="">联系我们</a> </li>
        </ul>
        <div class="s">
            <input type="text" placeholder="搜索">
        </div>
    </div> -->




    <!-- 大图 -->
    <div class="bigbox">
        <div class="bigbo">
            <div class="bigb">
                <div class="big">
                    <img src="../img/82269cd278fece089c26a76e96f1294f.png" alt="">
                </div>
            </div>
        </div>
    </div>
    <div class="bigg2">
        <div class="big2">
            <div class="big22">
                <img src="../img/6beb894a5c5a816e619bcabc63ca85c9.png" alt=" ">
            </div>
        </div>
    </div>
    <div class="bigg2">
        <div class="big2">
            <div class="big22">
                <img src="../img/d45f5bbcd6568385de33597be9343c05.png" alt=" ">
            </div>
        </div>
    </div>
    <div class="bigg2">
        <div class="big2">
            <div class="big22">
                <img src="../img/bb8211b94c07bf943da794c1fcee4ccd.jpg" alt=" ">
            </div>
        </div>
    </div>
    <div class="bigg2">
        <div class="big2">
            <div class="big22">
                <img src="../img/02a9fe72e5d769a53027a0785c4e2921.jpg" alt=" ">
            </div>
        </div>
    </div>
    <div class="bigg2">
        <div class="hover">
            <img src="../img/e510b60d5c447e1d1c5ca21f90463ca6.jpg " alt=" " style="display: inline;">
            <div class="big222">
                <a href="wyb" class="tt">
                    <img src="../img/7d0490c7511d13a30d072b3c0d605741.jpg" alt="" style="display: inline;">
                    <div class="bq"><img src="../img/7a27f79eabae806926243b0245497cc0.jpg" alt="" class="am"></div>
                </a>
                <a href="gxt" class="tt">
                    <img src="../img/564147ff06ffcd56596f05859a6dddb6.jpg" alt="">
                    <div class="bq"><img src="../img/f008acfb52c0115089717350dc98bb57.png" alt="" class="am"></div>
                </a>
                <a href="gxt" class="tt">
                    <img src="../img/46e7ecf8cfec622d2a7dcf3955e7681a.jpg" alt="">
                    <div class="bq"><img src="../img/978d21579dd986d403b21e49c6e1cb94.png" alt="" class="am"></div>
                </a>
                <a href="gxt" class="tt">
                    <img src="../img/249dcf1e023a7db5b7325e660fc5d23f.jpg" alt="">
                    <div class="bq"><img src="../img/0bfc2a210d43211f20fd2b9e9b6c3d44.png" alt="" class="am"></div>
                </a>

            </div>
        </div>
    </div>
    <!-- 选购 三图-->
    <div class="xg">
        <div class="xg-box">
            <img src="../img/b506d7e874898ddbe03ab1e7ac59b468.jpg" alt="" style="display: block;">
            <div class="lj-link">
                <a href="" target="_blank" style="width: 8%; height: 10%; top: 74.2475%; left: 18.3594%;"></a>
                <a href="" target="_blank" style="width: 8%; height: 10%; top: 73%; left: 39.974%;"></a>
            </div>
        </div>
    </div>
    <div class="cnxh">
        <div class="cnxhh">
            <h3>猜你喜欢</h3>
            <a href="/list/?k=服" target="_blank">即刻选购</a>
        </div>
        <!-- 轮播图 -->
        <div class="d5">
            <div class="d5-1">
                <!-- <div class="d5--1">
                    <a href="">
                        <img src="../img/424bc5482c7b032a54a7a1a9c5f0bced.jpg">
                        <p> 春晚冠军系列男子同款滑雪服套装</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/25c524c38a21f2802aa57669970b8122.jpg">
                        <p>春晚冠军系列女子同款滑雪服套装</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/69b04123dc528529561488b52e5b7e3e.jpg">
                        <p>春晚同款星河涌动男子羽绒服</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/99f459f96c14f295e568d2a2e3a75339.jpg">
                        <p>春晚同款星河涌动女子羽绒服</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/f3576517b9800e8c0ca5ddcb90ca46c2.jpg">
                        <p> 全天候女针织运动上衣 </p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/f3576517b9800e8c0ca5ddcb90ca46c2.jpg">
                        <p>全天候男针织运动上衣</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/118b95a4c59fb7afd3fdccca0344d2b3.jpg">
                        <p>全天候女梭织运动上衣</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/0011f9870f7b3687f9bd71b6956e30bc.jpg">
                        <p>全天候防风透湿男两件套</p>
                    </a>

                </div>
                <div class="d5--1">
                    <a href="">
                        <img src="../img/31c365b4dc3a76aa13cff0bf75c536a1.jpg">
                        <p>全天候运动科技男连帽卫衣</p>
                        <img src="../img/cb7812266a9eed29b8974065e1478a7b.jpg">
                        <p>全天候运动科技女连帽卫衣</p>
                    </a>

                </div> -->
            </div>

            <!-- 点击 -->
            <p class="p1">&gt;</p>
            <p class="p2">&lt;</p>
        </div>
        <!-- 线条 -->
        <div class="d5-2">
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
            <div class="d5-2-1">
            </div>
        </div>





    </div>
    <!-- 轮播图end -->

    </div>
    <!-- 轮播图 -->

    <!-- 红图 -->
    <div class=" red ">
        <div class="nr ">
            <h3 class="ct "> </h3>
            <p>抢先得知最新产品、独家消息及优惠资讯</p>
            <ul style="width: 366px;height: 78px; ">
                <li class="iconfont icon-weixin ">
                    <a href=" ">
                        <div class="com-qr-code ">
                            <img src="../img/com-qr-code.jpg " alt=" " style="width: 100px;height: 100px; ">
                        </div>
                    </a>
                </li>
                <li class="iconfont icon-xinlangweibo ">
                </li>
            </ul>

        </div>
    </div>
    <footer></footer>
    <!-- 底部 -->



</body>

</html>
<script src="../jQuery.js "></script>
<script>
    $("header ").load("head.html ");
    $("footer ").load("footer.html ");
</script>


<script>
    $.get("../goodsAndShoppingCart/bannerGet.php", function(resText) {
        get(resText);
        date();
    });
    // 添加节点
    function get(text) {
        let imggg = JSON.parse(text);
        for (let i = 0; i < imggg.length; i++) {
            let p = imggg[i].img;
            let q = imggg[i].url;
            console.log(p);
            console.log(q);
            let Div1 = $(`
            <div class="d5--1">
                            <img src="${p}">
                            <p> ${imggg[i].url}</p>
                    </div>
            `);
            $(".d5-1").append(Div1);
        }

    }
</script>
<script>
    // 轮播图
    function date() {
        let P1 = document.querySelector(".p1")
        let P2 = document.querySelector(".p2")
        let D5 = document.querySelectorAll(".d5--1")
        let DD5 = document.querySelectorAll(".d5-2-1")
        P1.onclick = function() {}


        DD5[0].style.backgroundColor = "red"
        let x = 312.5;
        let z = 0;
        let p = 1;
        P1.onclick = function() {
            z += 104;
            p += 1;
            for (let j = 1; j < DD5.length; j++) {
                if (j < p) {
                    DD5[j].style.backgroundColor = "red"
                } else {
                    DD5[j].style.backgroundColor = "gray"
                }
            }
            if (z <= 624) {
                for (let i = 0; i < D5.length; i++) {
                    D5[i].style.transform = `translateX(${x-z}%)`;
                }
            } else {
                z = -104;
            }
        }

        let y = -311.5
        let j = 0;
        let r = 7;
        P2.onclick = function() {
            r -= 1;
            for (let j = 1; j < DD5.length; j++) {
                if (j < r);
            }
        }
    }
</script>